/*    */ package com.behavior.iterator;
/*    */ 
/*    */ 
/*    */ public class IteratorTest
/*    */ {
/*    */   public static void main(String[] args)
/*    */   {
/*  7 */     ConcreteAggregate aggregate = new ConcreteAggregate();
/*  8 */     aggregate.add("张三");
/*  9 */     aggregate.add("李四");
/* 10 */     aggregate.add("王五");
/* 11 */     aggregate.add("朱六");
/*    */ 
/* 13 */     Iterator iterator = aggregate.createIterator();
/* 14 */     while (!iterator.isDone())
/* 15 */       System.out.println(iterator.next());
/*    */   }
/*    */ }

/* Location:           C:\Users\lenovo\Desktop\DesignMode.jar
 * Qualified Name:     com.behavior.iterator.IteratorTest
 * JD-Core Version:    0.6.2
 */